/**
 * @Author: liutao
 * @Date:   2017-03-25T14:47:25+08:00
 * @Email:  947809647@qq.com
 * @Last modified by:   liutao
 * @Last modified time: 2017-04-20T19:41:57+08:00
 */

export default (Vue) => {
  Vue.filter('filterCreatorType', (type) => {
    let creator = ''
    switch (+type) {
      case 0:
        creator = '官方'
        break
      case 2:
        creator = '达人'
        break
      case 5:
        creator = '大V'
        break
      default:
    }
    return creator
  })
}
